﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XmlCreate
{
    class XmlModel
    {
    }

    // 注意: 生成的代码可能至少需要 .NET Framework 4.5 或 .NET Core/Standard 2.0。
    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class IODEF
    {

        private IODEFIOGROUP iOGROUPField;

        private IODEFLOGROUP lOGROUPField;

        private string maxTagIdField;

        private string versionField;

        private string modeField;

        /// <remarks/>
        public IODEFIOGROUP IOGROUP
        {
            get
            {
                return this.iOGROUPField;
            }
            set
            {
                this.iOGROUPField = value;
            }
        }

        /// <remarks/>
        public IODEFLOGROUP LOGROUP
        {
            get
            {
                return this.lOGROUPField;
            }
            set
            {
                this.lOGROUPField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string maxTagId
        {
            get
            {
                return this.maxTagIdField;
            }
            set
            {
                this.maxTagIdField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string version
        {
            get
            {
                return this.versionField;
            }
            set
            {
                this.versionField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string mode
        {
            get
            {
                return this.modeField;
            }
            set
            {
                this.modeField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class IODEFIOGROUP
    {

        private List<IODEFIOGROUPTAG> tAGField;

        private string nameField;

        private string descField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("TAG")]
        public List<IODEFIOGROUPTAG> TAG
        {
            get
            {
                return this.tAGField;
            }
            set
            {
                this.tAGField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string desc
        {
            get
            {
                return this.descField;
            }
            set
            {
                this.descField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class IODEFIOGROUPTAG
    {

        private string idField;

        private string pnField;

        private string dESCField;

        private string dtField;

        private string llField;

        private string ulField;

        private string hpField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string PN
        {
            get
            {
                return this.pnField;
            }
            set
            {
                this.pnField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string DESC
        {
            get
            {
                return this.dESCField;
            }
            set
            {
                this.dESCField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string DT
        {
            get
            {
                return this.dtField;
            }
            set
            {
                this.dtField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string LL
        {
            get
            {
                return this.llField;
            }
            set
            {
                this.llField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string UL
        {
            get
            {
                return this.ulField;
            }
            set
            {
                this.ulField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string HP
        {
            get
            {
                return this.hpField;
            }
            set
            {
                this.hpField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class IODEFLOGROUP
    {

        private List<IODEFIOGROUP> iOGROUPField;

        private string nameField;

        private string descField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("IOGROUP")]
        public List<IODEFIOGROUP> IOGROUP
        {
            get
            {
                return this.iOGROUPField;
            }
            set
            {
                this.iOGROUPField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string desc
        {
            get
            {
                return this.descField;
            }
            set
            {
                this.descField = value;
            }
        }
    }


}
